import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router'
import HomeView from '../views/szc/HomeView.vue'


const S_zc_r: Array<RouteRecordRaw> = [
 

    {
        path: '/',
        name: 'home2',
        component: ()=>import ("../views/szc/HomeView.vue"),
    },
    {
        path: '/search',
        component: () => import("../views/szc/home_son/other_search.vue"),
        children: [
            {
                path: '/Doctor',
                component: () => import("../views/szc/home_son/home_grandson/os_doctor.vue")
            },
            {
                path: '/Hospital',
                component: () => import("../views/szc/home_son/home_grandson/os_hospital.vue")
            },
            {
                path: '/Recommend',
                component: () => import("../views/szc/home_son/home_grandson/os_recommend.vue")
            },
            {
                path: '/Null',
                component: () => import("../views/szc/home_son/home_grandson/os_null.vue")
            },
        ]
    },
    {
        path: '/ask',
        component: () => import("../views/szc/home_son/home_grandson/ask_doctor.vue")
    },
    {
        path: '/as_k',
        component: () => import("../views/szc/home_son/home_grandson/ask_doctor_son.vue")
    },
 
]

export default S_zc_r
